# # base  +  adv
# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain amazon --target-domain dslr \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain amazon --target-domain webcam  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain dslr --target-domain webcam  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain webcam --target-domain amazon  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain webcam --target-domain dslr  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck


# # tiny + adv

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain amazon --target-domain dslr \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain amazon --target-domain webcam  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain dslr --target-domain webcam  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain webcam --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_daan \
#     --dataset Office31 --source-domain webcam --target-domain dslr  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck


# test
# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryv1 \
#     --dataset Office31 --source-domain webcam --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_dataaugv1 \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryv1 \
#     --dataset Office31 --source-domain amazon --target-domain dslr  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --transfer-loss daan --use-bottleneck

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryv1 \
#     --dataset Office31 --source-domain amazon --target-domain webcam  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# # base
# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryv1 \
#     --dataset Office31 --source-domain webcam --target-domain amazon  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryv1 \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryv1 \
#     --dataset Office31 --source-domain amazon --target-domain dslr  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 
    
# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryv1 \
#     --dataset Office31 --source-domain amazon --target-domain webcam  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 


# base  +  adv
# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain amazon --target-domain dslr \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain amazon --target-domain webcam  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain dslr --target-domain webcam  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain webcam --target-domain amazon  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_base_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain webcam --target-domain dslr  \
#     --pretrained ./ckpts/vssm_base_0229_ckpt_epoch_237.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# # small + adv
# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_small_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain amazon --target-domain dslr \
#     --pretrained ./ckpts/vssm_small_0229_ckpt_epoch_222.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_small_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain amazon --target-domain webcam  \
#     --pretrained ./ckpts/vssm_small_0229_ckpt_epoch_222.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_small_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_small_0229_ckpt_epoch_222.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_small_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain dslr --target-domain webcam  \
#     --pretrained ./ckpts/vssm_small_0229_ckpt_epoch_222.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_small_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain webcam --target-domain amazon  \
#     --pretrained ./ckpts/vssm_small_0229_ckpt_epoch_222.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_small_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_memoryV2 \
#     --dataset Office31 --source-domain webcam --target-domain dslr  \
#     --pretrained ./ckpts/vssm_small_0229_ckpt_epoch_222.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# # tiny + adv

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_advV2 \
#     --dataset Office31 --source-domain amazon --target-domain dslr \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_advV1 \
#     --dataset Office31 --source-domain amazon --target-domain webcam  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_advV1 \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_advV1 \
#     --dataset Office31 --source-domain dslr --target-domain webcam  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_advV1 \
#     --dataset Office31 --source-domain webcam --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 python -u -m torch.distributed.launch \
#     --nproc_per_node=1 --master_port 11775 \
#     main_org.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_advV1 \
#     --dataset Office31 --source-domain webcam --target-domain dslr  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
#     --nproc_per_node=1 --master_port 11778 \
#     uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_patchLMMD \
#     --dataset Office31 --source-domain amazon --target-domain dslr  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --loss-weight 0.1

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
#     --nproc_per_node=1 --master_port 11778 \
#     uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_LMMD \
#     --dataset Office31 --source-domain amazon --target-domain dslr  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --loss-weight 0.1

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
#     --nproc_per_node=1 --master_port 11778 \
#     uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_LMMD \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --loss-weight 0.1

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
#     --nproc_per_node=1 --master_port 11778 \
#     uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_LMMD07 \
#     --dataset Office31 --source-domain amazon --target-domain dslr  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --loss-weight 0.7

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
#     --nproc_per_node=1 --master_port 11778 \
#     uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_LMMD07 \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --loss-weight 0.7

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
#     --nproc_per_node=1 --master_port 11778 \
#     uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_LMMD05 \
#     --dataset Office31 --source-domain amazon --target-domain dslr  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --loss-weight 0.5

# CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
#     --nproc_per_node=1 --master_port 11778 \
#     uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
#     --data-path ../dataset/office31 \
#     --algorithm DAMamba --output ./output/train_output_with_LMMD05 \
#     --dataset Office31 --source-domain dslr --target-domain amazon  \
#     --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
#     --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
#     --loss-weight 0.5

CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
    --nproc_per_node=1 --master_port 11778 \
    uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
    --data-path ../dataset/office31 \
    --algorithm DAMamba --output ./output/train_output_with_LMMD03 \
    --dataset Office31 --source-domain amazon --target-domain webcam  \
    --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
    --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
    --loss-weight 0.3

CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
    --nproc_per_node=1 --master_port 11778 \
    uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
    --data-path ../dataset/office31 \
    --algorithm DAMamba --output ./output/train_output_with_LMMD03 \
    --dataset Office31 --source-domain dslr --target-domain webcam  \
    --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
    --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
    --loss-weight 0.3

CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
    --nproc_per_node=1 --master_port 11778 \
    uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
    --data-path ../dataset/office31 \
    --algorithm DAMamba --output ./output/train_output_with_LMMD03 \
    --dataset Office31 --source-domain webcam --target-domain dslr  \
    --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
    --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
    --loss-weight 0.3

CUDA_VISIBLE_DEVICES='1' CUDA_LAUNCH_BLOCKING=1 torchrun \
    --nproc_per_node=1 --master_port 11778 \
    uda_main.py --cfg ./configs/vssm/vmambav2_tiny_224.yaml \
    --data-path ../dataset/office31 \
    --algorithm DAMamba --output ./output/train_output_with_LMMD03 \
    --dataset Office31 --source-domain webcam --target-domain amazon  \
    --pretrained ./ckpts/vssm_tiny_0230_ckpt_epoch_262.pth \
    --batch-size 32 --lr 1e-4 --epochs 100 --iter-per-epoch 80 --auto-resume --save-freq 50 \
    --loss-weight 0.3